#!/bin/bash
set -e

mongod -f config/config-17011.conf
mongod -f config/config-17013.conf
mongod -f config/config-17015.conf

mongod -f shard1/shard1-37011.conf
mongod -f shard1/shard1-37013.conf
mongod -f shard1/shard1-37015.conf
mongod -f shard1/shard1-37017.conf

mongod -f shard2/shard2-47011.conf
mongod -f shard2/shard2-47013.conf
mongod -f shard2/shard2-47015.conf
mongod -f shard2/shard2-47017.conf

mongod -f shard3/shard3-57011.conf
mongod -f shard3/shard3-57013.conf
mongod -f shard3/shard3-57015.conf
mongod -f shard3/shard3-57017.conf

mongod -f shard4/shard4-58011.conf
mongod -f shard4/shard4-58013.conf
mongod -f shard4/shard4-58015.conf
mongod -f shard4/shard4-58017.conf

mongos -f route/route-27017.conf